package com.foreverwin.jzymes.production.program.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import java.util.Date;

/**
 * CNC程式上传下载记录表 Z_PROGRAM_ACTION_LOG
 * 
 * @author ervin
 * @date 2019-07-17
 */
public class ProgramActionLog
{
	private static final long serialVersionUID = 1L;
	
	/** 主键 */
	private String handle;
	/** 站点 */
	private String site;
	/** 设备编号 */
	private String resrce;
	/** 机种 */
	private String machineType;
	/** 夹位 */
	private String cncType;
	/** 机种程式 */
	private String cncPrgmBo;
	/** 程式文件 */
	private String prgmFile;
	/** 操作 */
	private String action;
	/** 创建日期 */
	private Date createdDateTime;
	/** 创建人员 */
	private String createUserBo;

	public void setHandle(String handle) 
	{
		this.handle = handle;
	}

	public String getHandle() 
	{
		return handle;
	}
	public void setSite(String site) 
	{
		this.site = site;
	}

	public String getSite() 
	{
		return site;
	}
	public void setResrce(String resrce) 
	{
		this.resrce = resrce;
	}

	public String getResrce() 
	{
		return resrce;
	}
	public void setMachineType(String machineType) 
	{
		this.machineType = machineType;
	}

	public String getMachineType() 
	{
		return machineType;
	}
	public void setCncType(String cncType) 
	{
		this.cncType = cncType;
	}

	public String getCncType() 
	{
		return cncType;
	}
	public void setCncPrgmBo(String cncPrgmBo) 
	{
		this.cncPrgmBo = cncPrgmBo;
	}

	public String getCncPrgmBo() 
	{
		return cncPrgmBo;
	}
	public void setPrgmFile(String prgmFile) 
	{
		this.prgmFile = prgmFile;
	}

	public String getPrgmFile() 
	{
		return prgmFile;
	}
	public void setAction(String action) 
	{
		this.action = action;
	}

	public String getAction() 
	{
		return action;
	}
	public void setCreatedDateTime(Date createdDateTime) 
	{
		this.createdDateTime = createdDateTime;
	}

	public Date getCreatedDateTime() 
	{
		return createdDateTime;
	}
	public void setCreateUserBo(String createUserBo) 
	{
		this.createUserBo = createUserBo;
	}

	public String getCreateUserBo() 
	{
		return createUserBo;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("handle", getHandle())
            .append("site", getSite())
            .append("resrce", getResrce())
            .append("machineType", getMachineType())
            .append("cncType", getCncType())
            .append("cncPrgmBo", getCncPrgmBo())
            .append("prgmFile", getPrgmFile())
            .append("action", getAction())
            .append("createdDateTime", getCreatedDateTime())
            .append("createUserBo", getCreateUserBo())
            .toString();
    }
}
